package dao;

import utils.Book;
import utils.User;

import java.util.ArrayList;

public interface IUser {
    //增
    public boolean insert(User user);
    //删
    public boolean delete(int userid);
    //改
    public boolean update(User user);
    //根据用户名查询
    public User findbyname(String name);
    //查询所有
    public ArrayList<User> findAll();
}
